﻿Public Class MBC_para_charItem

    Public Const _base As UShort = 0
    Public Const interval_eachref As UShort = 30      '每一个库的地址间隔

    '第一个冷库的地址
    Public Const AI_Temp_Num As UShort = _base + 21      ' 已使用的温度端口数量
    Public Const Temp1_Input_Nu As UShort = _base + 22      ' 温度1端口数
    Public Const Temp2_Input_Nu As UShort = _base + 23      ' 温度2端口数
    Public Const Temp3_Input_Nu As UShort = _base + 24      ' 温度3端口数
    Public Const Temp4_Input_Nu As UShort = _base + 25      ' 温度4端口数
    Public Const Temp5_Input_Nu As UShort = _base + 26      ' 温度5端口数
    Public Const Temp6_Input_Nu As UShort = _base + 27      ' 温度6端口数
    Public Const Temp7_Input_Nu As UShort = _base + 28      ' 温度7端口数
    Public Const Temp8_Input_Nu As UShort = _base + 29      ' 温度8端口数
    Public Const Temp9_Input_Nu As UShort = _base + 30      ' 温度9端口数

    Public Const AI_Hum_Num As UShort = _base + 31      ' 已使用的湿度端口数量
    Public Const Hum1_Input_Nu As UShort = _base + 32      ' 湿度1端口数
    Public Const Hum2_Input_Nu As UShort = _base + 33      ' 湿度2端口数
    Public Const Hum3_Input_Nu As UShort = _base + 34      ' 湿度3端口数

    Public Const Alarm_Output_Nu As UShort = _base + 35           ' 冷库报警输出端口号
    Public Const SoundLight_Output_Nu As UShort = _base + 36      ' 声光报警输出端口号
    Public Const LostPower_Input_Nu As UShort = _base + 37        ' 缺项报警输入端口号
    Public Const Door_Input_Nu As UShort = _base + 38             ' 库门状态输入端口

End Class